package org.jeecg.modules.company.facade.impl;



import org.springframework.stereotype.Service;


import org.jeecg.base.facade.impl.IFacadeImpl;
import org.jeecg.modules.company.entity.QscQuotaRecord;
import org.jeecg.modules.company.facade.IQscQuotaRecordFacade;
import org.jeecg.modules.company.service.IQscQuotaRecordService;
import org.jeecg.modules.company.vo.QscQuotaRecordVo;
import org.springframework.beans.BeanUtils;

import org.springframework.beans.factory.annotation.Autowired;


/**
 * @Description: 质维额度变化记录
 * @Author: zj
 * @Date:   2020-05-26
 * @Version: V1.0
 */


@Service
public class QscQuotaRecordFacadeImpl extends IFacadeImpl<QscQuotaRecordVo, QscQuotaRecord, IQscQuotaRecordService>  implements IQscQuotaRecordFacade<QscQuotaRecordVo, QscQuotaRecord> {
        @Autowired
        private IQscQuotaRecordService qscQuotaRecordService;


         @Override
         public QscQuotaRecord po2Vo(QscQuotaRecordVo vo) {
                QscQuotaRecord po = new QscQuotaRecord();
                if(vo==null){
                   return null;
                }
                BeanUtils.copyProperties(vo, po);
                return po;
         }

         @Override
         public QscQuotaRecordVo vo2Po(QscQuotaRecord po) {
                QscQuotaRecordVo vo = new QscQuotaRecordVo();
                 if(po==null){
                     return null;
                  }
                BeanUtils.copyProperties(po, vo);
                return vo;
         }

}
